<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BalanceCoding Online System</title>
    <style>
        /* 重置样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 全局设置 */
        html, body {
            width: 100%;
            height: 100%;
            font-family: '微软雅黑', sans-serif;
            background-color: #f0f2f5;
            color: #333;
        }

        /* 导航栏样式 */
        .navbar {
            background-color: #4a90e2;
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 30px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        /* 导航链接样式 */
        .navbar a {
            color: #fff;
            font-size: 16px;
            text-decoration: none;
            margin: 0 15px;
            transition: color 0.3s ease;
        }

        /* 鼠标悬停时的链接效果 */
        .navbar a:hover {
            color: #ffeb3b;
        }

        /* 登录按钮样式 */
        .navbar .login {
            background-color: #e74c3c;
            padding: 8px 20px;
            border-radius: 5px;
        }

        .navbar .login:hover {
            background-color: #d62c1a;
        }

        /* 内容区样式 */
        .content {
            text-align: center;
            margin-top: 120px;
        }

        .content h1 {
            font-size: 48px;
            color: #333;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .content p {
            font-size: 20px;
            color: #666;
            margin-bottom: 30px;
        }

        .content a {
            display: inline-block;
            font-size: 18px;
            background-color: #4a90e2;
            color: #fff;
            padding: 12px 25px;
            border-radius: 8px;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .content a:hover {
            background-color: #357ab8;
        }

        /* 底部版权样式 */
        .footer {
            margin-top: 50px;
            text-align: center;
            color: #999;
            font-size: 14px;
        }
    </style>
</head>

<body>
    <div class="container">
        <!-- 导航栏 -->
        <div class="navbar">
            <a href="/">首页</a>
            <a href="/all_questions">题库</a>
            <a href="#">竞赛</a>
            <a href="#">讨论区</a>
            <a href="#">求职</a>
            <a class="login" href="#">登录</a>
        </div>

        <!-- 主要内容 -->
        <div class="content">
            <h1>BlanceCoding Online</h1>
            <p>这是一个简洁高效的在线题库平台，轻松解决编程挑战！</p>
            <a href="/all_questions">查看题目列表</a>
        </div>

        <!-- 底部 -->
        <div class="footer">
            <p>&copy; 2024 我的在线评测系统</p>
        </div>
    </div>
</body>

</html>
